		<!-- basic scripts -->


		<!--[if !IE]> -->
		<script src="__JS__/jquery-2.1.1.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script src="__JS__/jquery-1.11.1.min.js"></script>
		<![endif]-->

		<!--[if !IE]> -->
		<script type="text/javascript">
			window.jQuery || document.write("<script src='__JS__/jquery.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script type="text/javascript">
		 window.jQuery || document.write("<script src='__JS__/jquery1x.min.js'>"+"<"+"/script>");
		</script>
		<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='__JS__/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="__JS__/bootstrap.min.js"></script>

		<!-- page specific plugin scripts -->

		<script src="__JS__/bootstrap-tag.min.js"></script>
		<!-- ace scripts -->
		<script src="__JS__/ace-elements.min.js"></script>
		<script src="__JS__/ace.min.js"></script>
		<script>
			//侧栏高亮
			$(document).ready(function() {

			    var myNav = $(".nav-list a");
			    for (var i = 0; i < myNav.length; i++) {
			        var links = myNav.eq(i).attr("href");
			        var myURL = document.URL;
			        if (myURL.indexOf(links) != -1) {
			       
			           
			            myNav.eq(i).parent("li").addClass("open").parent("ul").css("display","block");
			            myNav.eq(i).parent("li").parent("ul").parent("li").addClass("open active");
			        }
			    }

			});

		</script>
		<!-- inline scripts related to this page -->
		<!-- 标签 -->
		<script type="text/javascript">
			jQuery(function($) {
				var tag_input = $('#form-field-tags');
				try{
					tag_input.tag(
					  {
						placeholder:tag_input.attr('placeholder'),
						//enable typeahead by specifying the source array
						source: ace.vars['US_STATES'],//defined in ace.js >> ace.enable_search_ahead
						/**
						//or fetch data from database, fetch those that match "query"
						source: function(query, process) {
						  $.ajax({url: 'remote_source.php?q='+encodeURIComponent(query)})
						  .done(function(result_items){
							process(result_items);
						  });
						}
						*/
					  }
					);
			
					//programmatically add a new
					var $tag_obj = $('#form-field-tags').data('tag');
				//	$tag_obj.add('Programmatically Added');
				}
				catch(e) {
					//display a textarea for old IE, because it doesn't support this plugin or another one I tried!
					tag_input.after('<textarea id="'+tag_input.attr('id')+'" name="'+tag_input.attr('name')+'" rows="3">'+tag_input.val()+'</textarea>').remove();
					//$('#form-field-tags').autosize({append: "\n"});
				}
				});
		</script>
	</body>
</html>
